package com.fyy;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

/**
 * @Author fyy
 * @Description
 * @Date 2020/5/26 9:52
 */
@SpringBootApplication
@EnableEurekaClient
@EnableCircuitBreaker //开启hystrix熔断器
public class ProHystrixApplication {

    public static void main(String[] args) {
        SpringApplication.run(ProHystrixApplication.class,args);
    }

}
